home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 146
/
(Vol 146) Jan 07 2012.iso
/
Games
/
super_fly.swf
/
scripts
/
frame_58
/
DoAction.as
< prev
Wrap
Text File
|
2012-01-07
|
799b
|
43 lines
flyNum = flyEnter;
if(flyEnter < "10")
{
if(getTimer() >= bTime + "5000")
{
while(flyNum + "2" >= flyEnter)
{
tellTarget("/flyin" add flyEnter)
{
gotoAndPlay(2);
}
flyEnter += "1";
}
bTime = getTimer();
}
if(flyEnter == "1")
{
if(getTimer() >= bTime + "100")
{
while(flyNum + "3" >= flyEnter)
{
tellTarget("/flyin" add flyEnter)
{
gotoAndPlay(2);
}
flyEnter += "1";
}
bTime = getTimer();
}
}
}
if("0" < frTime)
{
if(getTimer() >= frTime + "10000")
{
tellTarget("/frog")
{
gotoAndPlay(2);
}
frTime = "0";
}
}